package org.anjoy.ktv.util;

import org.anjoy.ktv.R;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

public class KtvSongPreviewDialog extends Dialog {

	public Context mContext;
	private ImageButton canceBtn;

	public KtvSongPreviewDialog(Context context) {
		super(context);
		this.mContext = context;
	}

	public KtvSongPreviewDialog(Context context, int theme) {
		super(context, theme);
		this.mContext = context;
	}

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ktv_dialog_song_preview_style);

		canceBtn = (ImageButton) findViewById(R.id.ktv_dialog_song_preview_cance_btn);
		canceBtn.setOnClickListener(new View.OnClickListener() {

			@Override
			public void onClick(View v) {
				cancel();
			}
		});
	}
}
